package com.springcloud.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.springcloud.model.SysOrganization;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 *
 * SysOrganization 表数据库控制层接口
 *
 */
@Mapper
public interface SysOrganizationMapper extends BaseMapper<SysOrganization> {

	List<SysOrganization> selectByPIdNull();

    List<SysOrganization> selectAllByPId(@Param("pId") Long pid);

    List<SysOrganization> selectAll();
}